MatAdd FUNCTION MatAddI% MatAddL% MatAddS% MatAddD% MatAddC% Syntax errcode% = MatAddtype%(matrix1( ), matrix2( )) Remarks MatAddtype% performs matrix addition of two matrixes that are the same in both row (m) and column (n) dimensions. The input matrixes contain values whose data type is defined by the last letter in the procedure name (I, L, S, D, or C). The sum is returned in matrix1( ), replacing any previous values. The solution matrix contains values of the same data type as the input matrixes. Once the procedure has been performed, the contents of matrix2( ) are meaningless. MatAddtype% uses the following arguments. matrix1( ) ---------- A matrix consisting of m x n dimensions. matrix2( ) ---------- A matrix consisting of m x n dimensions. A result code indicates the success or failure of the FUNCTION procedure. Possibilities are. 0 Normal completion. No error occurred. -4 Matrixes not of the same dimension. That is, there are not the same number of rows in matrix1 as there are in matrix2 or there are not the same number of columns in matrix1 as in matrix2.